﻿using BAT.APT.Domain.Entities;
using BAT.APT.NHDao.Main;

namespace BAT.APT.NHDao
{
    public class ProductDao:BaseDao,IProductDao
    {
        /// <summary>
        /// 添加产品
        /// </summary>
        /// <param name="entity"></param>
        public int Add(Product entity)
        {
            return Save(entity);
        }
    }
}